<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Bel_Controller</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Bel_Controller</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Extended Zend_Controller_Action Class to make some mods in init process</p>
	<ul class="tags">
				<li><span class="field">author:</span> Konstantin Shamko &lt;<a href="mailto:konstantin.shamko@gmail.com">konstantin.shamko@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> 0.0.1</li>
				<li><span class="field">copyright:</span> Copyright (c) 2009 Konstantin Shamko</li>
				<li><span class="field">license:</span> New</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Libs---Bel---Controller.php.html">/Libs/Bel/Controller.php</a> (line <span class="field">13</span>)
		</p>
		
				
		<pre>Zend_Controller_Action
   |
   --Bel_Controller</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Bel/Bel_Controller_Aed.html">Bel_Controller_Aed</a></td>
					<td>
											Base controller for AED (add - edit - delete) functionality. Operates a data from a database. Useful when building an administrative interface
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Bel/Bel_Controller_Tree.html">Bel_Controller_Tree</a></td>
					<td>
											Base controller for tree data management. Tree algorythm is  nested sets (http://en.wikipedia.org/wiki/Nested_set_model)
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Default/Controller/IndexController.html">IndexController</a></td>
					<td>
											Index controller
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/usermanagement_PassrestoreController.html">usermanagement_PassrestoreController</a></td>
					<td>
											Restore password controller
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/usermanagement_RegistrationController.html">usermanagement_RegistrationController</a></td>
					<td>
											Registration controller
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/usermanagement_AuthController.html">usermanagement_AuthController</a></td>
					<td>
											Controller that handles login/logout actions
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/usermanagement_ProfileController.html">usermanagement_ProfileController</a></td>
					<td>
											User profile controller
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Content/Controller/content_ContentController.html">content_ContentController</a></td>
					<td>
											Content controller. Displays content pages
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Content/Controller/content_MenusController.html">content_MenusController</a></td>
					<td>
											Menus controller. Siasplays site's menus
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Default/Controller/admin_IndexController.html">admin_IndexController</a></td>
					<td>
											Admin module. Index controller
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Usermanagement/Controller/admin_PermissionsController.html">admin_PermissionsController</a></td>
					<td>
											Controller to manage access permissions for users' groups in the admin area
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../Contact/Controller/contact_IndexController.html">contact_IndexController</a></td>
					<td>
											Contact controller. Provides contact form functionality
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																								<div class="var-title">
					<span class="var-type">object</span>
					<a href="#$view" title="details" class="var-name">$view</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Bel/Bel_Cache.html">Bel_Cache</a></span>
					<a href="#$_cache" title="details" class="var-name">$_cache</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Bel/Bel_Messages.html">Bel_Messages</a></span>
					<a href="#$_messages" title="details" class="var-name">$_messages</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Bel/Bel_Seo.html">Bel_Seo</a></span>
					<a href="#$_seo" title="details" class="var-name">$_seo</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../Bel/Bel_Forms_Validator.html">Bel_Forms_Validator</a></span>
					<a href="#$_validator" title="details" class="var-name">$_validator</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																												
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#_ifAjax" title="details" class="method-name">_ifAjax</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_redirect" title="details" class="method-name">_redirect</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">array()</span>])
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$view" id="$view"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">object</span>
			<span class="var-name">$view</span>
						(line <span class="line-number">20</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">View object (in our case it's Smarty)</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_cache" id="$_cache"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Bel/Bel_Cache.html">Bel_Cache</a></span>
			<span class="var-name">$_cache</span>
						(line <span class="line-number">48</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Cache object. In our case it is Zend_Cache</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_messages" id="$_messages"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Bel/Bel_Messages.html">Bel_Messages</a></span>
			<span class="var-name">$_messages</span>
						(line <span class="line-number">34</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Messages object. Singleton to add &amp; display messages to users</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_seo" id="$_seo"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Bel/Bel_Seo.html">Bel_Seo</a></span>
			<span class="var-name">$_seo</span>
						(line <span class="line-number">27</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Seo object. Needed to set title, keywords &amp; description to a page</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_validator" id="$_validator"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../Bel/Bel_Forms_Validator.html">Bel_Forms_Validator</a></span>
			<span class="var-name">$_validator</span>
						(line <span class="line-number">41</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validator object. Needed for server side form validation</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodinit" id="init"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">init</span> (line <span class="line-number">57</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initialize object</p>
<p class="description"><p>Called from __construct() as final step of object instantiation.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../Bel/Bel_Controller_Aed.html#methodinit">Bel_Controller_Aed::init()</a>
								: Object initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_UsersController.html#methodinit">admin_UsersController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/admin_PagesController.html#methodinit">admin_PagesController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_GroupsController.html#methodinit">admin_GroupsController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/admin_BuildmenuController.html#methodinit">admin_BuildmenuController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/admin_MenusController.html#methodinit">admin_MenusController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Bel/Bel_Controller_Tree.html#methodinit">Bel_Controller_Tree::init()</a>
								: Object init
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_ModulesController.html#methodinit">admin_ModulesController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/usermanagement_RegistrationController.html#methodinit">usermanagement_RegistrationController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/usermanagement_AuthController.html#methodinit">usermanagement_AuthController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/usermanagement_ProfileController.html#methodinit">usermanagement_ProfileController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/content_ContentController.html#methodinit">content_ContentController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Content/Controller/content_MenusController.html#methodinit">content_MenusController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Usermanagement/Controller/admin_PermissionsController.html#methodinit">admin_PermissionsController::init()</a>
								: Initialization
							</li>
					<li>
				<a href="../Contact/Controller/contact_IndexController.html#methodinit">contact_IndexController::init()</a>
								: Initialization
							</li>
				</ul>
	</div>
<a name="method_ifAjax" id="_ifAjax"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_ifAjax</span> (line <span class="line-number">99</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Detects AJAX requests</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if AJAX, false if not</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			_ifAjax
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_redirect" id="_redirect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_redirect</span> (line <span class="line-number">79</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Redirect to another URL. If redirect happens after ajax request additional param ajax  is added to URL</p>
<p class="description"><p>Proxies to Zend_Controller_Action_Helper_Redirector::gotoUrl().</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_redirect
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$options</span><span class="var-description">: Options to be used when redirecting</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Mon, 01 Mar 2010 18:58:51 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>